#ifndef _GET_LOGKEY
#define _GET_LOGKEY

#include <iostream>
#include <cstdio>

#define FOLDER_LOG "/home/sagara/Documents/Projets/Urban_Terror/Bot/urt-bot-perso/log/"
#define FILE_LOG "games4_2_15_private_bis.log"
#define OUTPUT_FILE "keyword.txt"

using namespace std;

typedef struct list_key
{
  string key;
  list_key* next;
}List_Key;

void add_key(List_Key* list,string k);
bool key_is_present(List_Key* list,string k);
void delete_all(List_Key* list);
void print_list(List_Key* l);

void read(FILE* f,List_Key* list);
void save(List_Key* list);

#endif
